/*
 * @Author: yangzonglong
 * @Date: 2021-03-12 14:29:19
 * @version: v1.0.0
 * @Descripttion: 多行文本控件
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-08-17 11:00:56
 * @Auditor:
 */
import React from 'react';
import { Input } from 'antd';

const App = (props: any) => {
  const { disabled, onChange, value, options } = props;

  const placeholder = localStorage.i18nextLng === 'en' ? options?.placeholderEn : options?.placeholder;

  return <Input.TextArea placeholder={placeholder} disabled={disabled} value={value} onChange={onChange} />;
};

export default App;
